import Vue from 'vue';
import vuex from 'vuex';
Vue.use(vuex);

let state = {
	//当前激活的tab
	currentTabIndex: 1,
	//当前激活的nav
	currentNavIndex: 0,
	//主分类
	main_cates: {},
	//带子目录的详细分类
	all_cates: {}
}

export default new vuex.Store({
    state
});